using System.Collections.Generic;
using Codemo.Core.Deployment;

namespace Codemo.Core.Applications
{
    /// <summary>
    /// 
    /// </summary>
    public class XmlConfigurationFile
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="XmlConfigurationFile"/> class.
        /// </summary>
        /// <param name="relativePath">The relative path.</param>
        public XmlConfigurationFile(string relativePath)
        {
            RelativePath = relativePath;
            Mappings = new Dictionary<string, PropertyMapping>();
        }

        /// <summary>
        /// Gets or sets the relative path.
        /// </summary>
        /// <value>The relative path.</value>
        public string RelativePath { get; set; }

        /// <summary>
        /// Gets or sets the mappings.
        /// </summary>
        /// <value>The mappings.</value>
        public IDictionary<string, PropertyMapping> Mappings { get; private set; }
    }
}